package com.macro.mall.tiny.modules.pms.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author tyrone
 * @since 2024-10-14
 */
@Getter
@Setter
@TableName("pms_factory_data")
@ApiModel(value = "PmsFactoryData对象", description = "")
public class PmsFactoryData implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("路径")
    private String url;

    @ApiModelProperty("类型 0 pdf 1 html")
    private Integer type;

    @ApiModelProperty("展示类型 0非vip 1 vip")
    private Integer showStatus;

    @ApiModelProperty("封面")
    private String cover;

    @ApiModelProperty("标题 只有是html类型的时候才有")
    @TableField(exist = false)
    private String title;


}
